﻿using System.Collections.Generic;
using System.Data;

namespace Excel4DB.Util.Interfaces
{
    public interface IDataBase
    {
        DataTable GetDataBase();

        List<string> GetColumnsType(DataTable dataTable);

        bool ConnectionIsOpen();

        DataTable GetTables();

        DataTable GetFields(string tableName);

        DataTable GetDataFromTable(string tableName, string whereStr = null);
    }
}
